package com.example.order.service;

import org.springframework.stereotype.Component;

/**
 * @Description TODO
 * @Author JFeng
 * @Date 2024/5/18
 */
@Component
public class StockFeignServiceFallback implements StockFeignService {
    @Override
    public String reduce(Integer quantity) {
        return "order服务对stock服务reduce接口的熔断降级处理。";
    }
}
